package cn.hxlc.tie.demo.modular.work.mapper;/*
 @author rui
 @date  --18:23
*/

import cn.hxlc.tie.demo.modular.work.entity.WorkShopEntity;
import cn.hxlc.tie.demo.modular.work.model.param.WorkShopEntityParam;
import cn.hxlc.tie.demo.modular.work.model.result.WorkShopEntityResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkshopEntityMapper extends BaseMapper<WorkShopEntity> {
    int addEntity(WorkShopEntityParam workShopEntityParam);

    Boolean updateById(WorkShopEntityParam wsep);

    List<WorkShopEntityResult> findList(@Param("paramCondition") WorkShopEntityParam paramCondition);

    List<WorkShopEntityResult> findListBySpec(@Param("paramCondition") WorkShopEntityParam entry);
}
